﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SimpleServiceBus.Persistence.Domain.Management.Entities;

namespace SimpleServiceBus.Persistence.Domain.Management.Repositories
{
    public interface IEndpointErrorRepository
    {
        EndpointError Get(int errorId);
        IList<EndpointError> FindByEndpoint(ManagedEndpoint endpoint, int? maxResults, DateTime? startDate, DateTime? endDate);
        IList<EndpointError> FindAll(int? maxResults, DateTime? startDate, DateTime? endDate);
    }
}
